import sys, time
"""
A simple main program running the synchronizer
""" 
class SyncMain(Daemon):
    def __init__(self):
        self.sleep=20
        self.read_settings()
    def read_settings(self):
        #read synch settings 
        self.sleep=20
    def run(self):
        while True:
            self.read_settings()
            self.update_local2sf()
            self.update_sf2local()
            time.sleep(self.sleep)
    def update_local2sf(self):
        #updates local changes to SF
        pass
    def update_sf2local(self):
        #Update SF changes to local database
        pass
    
if __name__ == "__main__":
        sync = SyncMain()
        sync.run()